\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs28\fc0\cf0 Q: When Workspace exits, loginwindow sends a message like the following to syslog:\
\
\f1\fs24\fc1\cf1 loginwindow: Workspace exited ts 0 cd 0 rc 0 sv 0 ss 0\
\f0\fs28 \
What do the codes and numbers mean?\
\
A: These numbers are from the
\b status
\b0 argument to a
\b wait
\b0 () system call.\
\
\pard\tx940\tx1620\tx3080\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-3080\li3080\fc0\cf0 ts termsig The signal which Workspace received causing it to exit.\
cd coredump Whether or not Workspace produced a core dump (0: no, non-zero: yes).\
rc retcode The exit code from Workspace (low-order eight bits).\
sv stopval If this is WSTOPPED (see <sys/wait.h>), Workspace had stopped. (WSTOPPED is 0177 in Release 2.)\
ss stopsig If stopval is WSTOPPED, this is the signal which stopped Workspace.\
\b0 : if it's non-zero, it tells you what signal caused Workspace to exit. These signals are listed in the “signal” UNIX Manual Page, and in <sys/signal.h>.\
\
Let's take an example. Assume you see the following message:\
\
\f1\fs24 loginwindow: Workspace exited ts 4 cd 0 rc 0 sv 4 ss 0\
\f0\fs28\fc0\cf0 \
\fc1\cf1 The
\b ts 4
\b0 indicates that Workspace received a signal 4. Looking in
In this case, Workspace terminated because of an illegal instruction. You might want to verify that the Workspace executable is intact and has not been corrupted.\